package net.esj.basic.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 通过4位分类符+2位来源符标记一类ID
 * @author Administrator
 *
 */
@Target(value={ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface IdSerial {

	/**
	 * 4位分类符
	 * @return
	 */
	String cate() ;
	
	/**
	 * 2位来源符
	 * @return
	 */
	String resource();
}
